/**
 * Created by fq on 2018/1/6 0006.
 */
angular.module('indexApp')
    .controller('indexCtrl', ['$scope', '$window', '$rootScope', '$state', '$http', function ($scope, $window, $rootScope, $state, $http) {
        var vm = this;
        vm.http = $rootScope.http;

        console.log(sessionStorage.http, '123321');
        vm.is_com = sessionStorage.getItem("is_com");
        // alert('index');
        $rootScope.id = sessionStorage.getItem("id");
        $rootScope.id = localStorage.getItem("id");
        // var _url = window.location.protocol + '//' + window.location.host + '/#/main/home';
        // window.history.pushState({}, 0, _url);


    }]);